package com.sunlands.zlcx.usercenter.repository;

import com.sunlands.zlcx.usercenter.domain.VipSetMealDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shixiaopeng
 */
@Repository
public interface VipSetMealRepository extends JpaRepository<VipSetMealDO, Long> {

    List<VipSetMealDO> findAllByOsAndShowOrderBySortDesc(String os, Integer show);

    List<VipSetMealDO>  findAllByTypeIn(List<Integer>  types);
}
